package com.qiangqiang.task.server.enums;

import lombok.Getter;

/**
 * @author : sky
 * @date : 2018/7/12
 * @description :
 */
@Getter
public enum TaskEnum {

    TASK_IS_RECEIVED(1, "该任务已被领取"),
    TASK_STATUS_ERROR(2,"订单状态错误")
    ;

    private Integer code;
    private String message;

    TaskEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
